package com.dcy.znoa.service.publiz;

import com.dcy.znoa.common.exception.BusinessException;
import com.dcy.znoa.common.util.pojo.JsonCommon;
import com.dcy.znoa.common.util.pojo.JsonForList;
import com.dcy.znoa.controller.publiz.model.camera.SelectCameraModel;
import com.dcy.znoa.controller.publiz.model.duty.SelectDutyModel;
import com.dcy.znoa.domain.publiz.Camera;
import com.dcy.znoa.domain.publiz.Duty;

import java.lang.reflect.InvocationTargetException;

public interface CameraService {

    Integer insert(Camera var1);

    Integer updateById(Camera var1);//修改和逻辑删除都用这个方法实现

//    JsonForList selectList(SelectEstateServiceModel model) throws InvocationTargetException, IllegalAccessException;

    Integer deleteById(Long id) throws BusinessException;

    JsonForList selectList(SelectCameraModel model);
}
